package fr.esiag.projet17.services.transfert;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(
		namespace="http://metier.projet17.fr/transfert",
		name = "TransfertUtilisateurBean")
@XmlRootElement(
		namespace="http://metier.projet17.fr/transfert",
		name = "utilisateur")
public class TransfertUtilisateur {

	@XmlElement
	Long id;
	@XmlElement
	String login;
	@XmlElement
	String password;
	@XmlElement
	String nom;
	@XmlElement
	String prenom;
	
	@XmlElement(namespace="http://metier.projet17.fr/transfert")
	TransfertRole role;
	
	public TransfertUtilisateur() {	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public TransfertRole getRole() {
		return role;
	}

	public void setRole(TransfertRole role) {
		this.role = role;
	}
	
}
